import request from '@/utils/request'

export function getTerminalList(data) {
  return request({
    url: '/api/monitor/itimsTerminal/getItimsTerminalPageList',
    method: 'post',
    data: data
  })
}

export function saveTerminal(data) {
  return request({
    url: '/api/monitor/itimsTerminal/saveItimsTerminal',
    method: 'post',
    data: data
  })
}

export function updateTerminal(data) {
  return request({
    url: '/api/monitor/itimsTerminal/updateItimsTerminal',
    method: 'post',
    data: data
  })
}

export function getTerminalDetail(data) {
  return request({
    url: '/api/monitor/itimsTerminal/getItimsTerminalDetail',
    method: 'post',
    data: data
  })
}

export function deleteTerminal(data) {
  return request({
    url: '/api/monitor/itimsTerminal/deleteItimsTerminal',
    method: 'post',
    data: data
  })
}

export function getTerminalListByGroupId(data) {
  return request({
    url: '/api/monitor/itimsTerminal/getItimsTerminalListByGroupId',
    method: 'post',
    data: data
  })
}


